Repository navigation
mcpx: absorb the platform checkPhase adaptations from dezren39/nix - #4799
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 45 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
Laptop verification round 1: both eval assertions PASS (Linux phase = One unrelated failure also appeared: TestPluginOpsAreGenerated (internal/api) reports plugin/opencode/mcpx/ops.gen.ts stale. Nothing in this PR touches it; confirming whether it is pre-existing on main in verification round 2. |
|
Verification round 2 (laptop, full nix builds): the buildcheck guard update works — internal/buildcheck is green, and the PR branch's ONLY remaining failure is TestPluginOpsAreGenerated. Clean main (eeb8764) fails with exactly the same single test, so that failure is pre-existing and unrelated to this PR — filed as #4806. This PR's scope (platform checkPhase construction + its guard) is fully verified: eval assertions on both platforms in round 1, no new build failures in round 2. Merging. |
Step 1 of the mcpx consolidation (#4798; steps 2-3: developing-today-forks/opencode#1502, dezren39/darwin-nix#1384).
The package now constructs its own checkPhase test command with the platform adaptations that dezren39/nix previously applied by rewriting this package's checkPhase downstream:
go test -p 1 -timeout 30m $pkgs— serial package tests, so concurrent packages cannot starve the timing-sensitive retention/reopen test (400ms TTL, 200ms margin).go test -timeout 30m -skip='^(<20 takeover/handoff tests>)$' $pkgs— the Linux-only takeover/handoff tests (mcpx: the darwin skip override in dezren39/nix keys on this repo's check-phase line with a silent replaceStrings — no automated guard against drift #418).stdenvargument (callPackage supplies it) for the platform conditionals.Note: this repo's push-triggered CI is currently disabled by Drew's order, so verification is by laptop build + eval assertions of both platforms' checkPhase strings (running separately); a darwin build itself is eval-verified only.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.